package com.cobalt4nt.photomap;

import com.cobalt4nt.photomap.MapActivity.PictureWithLocation;

import android.app.Activity;
import android.location.Address;
import android.widget.Toast;

public abstract class GeocodingActivity extends Activity {
	public abstract void alertGeocodingComplete(Address result, PictureWithLocation picture);
	public abstract void alertUnGeocodingComplete(PictureWithLocation result);
	
	public void error(final String message) {
		runOnUiThread(new Runnable() {
			public void run() {
				Toast.makeText(getApplicationContext(), 
						message, Toast.LENGTH_LONG).show();
			}
		});
	}
}
